﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DbFactory
{
    class Program
    {
        static void Main(string[] args)
        {
            Global.GetDbContext().Database.Log = Console.WriteLine;

            Global.GetDbContext().Database.Delete();
            Global.GetDbContext().Database.Create();

            UserFactory.Create();
            ArticleFactory.Create();
        }
    }
}
